package maintain

import (
	"context"
	"gf_blog_admin/internal/service"

	"gf_blog_admin/api/maintain/v1"
)

func (c *ControllerV1) OptionLogDetail(ctx context.Context, req *v1.OptionLogDetailReq) (res *v1.OptionLogDetailRes, err error) {
	res = &v1.OptionLogDetailRes{}
	res.OptionLogItem, err = service.OptionLog().Detail(ctx, req.Id)
	return
}
